import 'package:get/get.dart';
import '../providers/auth_provider.dart';

class AuthRepository {
  final AuthProvider _authProvider = Get.find<AuthProvider>();
  
  Future<String> login(String username, String password) async {
    return await _authProvider.login(username, password);
  }
  
  Future<void> logout() async {
    await _authProvider.logout();
  }
  
  Future<void> refreshToken() async {
    await _authProvider.refreshToken();
  }
} 